<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
    <link rel="stylesheet" href="css/base.css"/>
    <link rel="stylesheet" href="css/style.css"/>
    <meta name="desc">
    <title>参与活动赢大奖</title>
    <div id='wx_pic' style='margin:0 auto;display:none;'>
        <img src='./img/pic300.jpg'/>
    </div>
</head>
<body>
<div class="indexBox">
    <div class="indexExplainBtn"></div>
    <a href="./cont.html" class="startAnswer"></a>
    <div class="indexExplain">
        <p> 活动奖品 : <br><br>
            一等奖：价值1888元的明基护眼灯<br>

            二等奖：分批抢500元的支付宝口令红包<br>
            <br>
            活动时间 : <br><br>
            2017年4月27日—2017年4月28日<br>
            <br>
            活动及兑奖说明 : <br><br>
            达到60分即可获得一次抽奖机会，每人共有3次抽奖机会，获奖后需按照文中提示的兑奖流程获取奖品。<br>
            <br>
            <span style="color: #ef392b">本活动最终解释权归华质检测平台所有</span>

        </p>
        　<span class="indexExplainGb"></span>
    </div>
</div>
<script type="application/javascript" src="js/zepto.min.js"></script>
<script type="application/javascript" src="js/zepto-touch.js"></script>
<script type="application/javascript" src="js/fastclick.js"></script>
<script type="application/javascript" src="js/script.js"></script>
<script>
    //微信分享
    var wimg = "http://dfs.weiqiangtech.com/group1/M00/00/01/rBENgFj-_hKAblaXAAA-TNiCNLs102.jpg";
    var wurl = "http://cj.weiqiangtech.com/lotterydraw/page";
    var wdesc = '致敬每一位劳动者，愿岁月不会亏待你。点击抽取五一福利！';
    var wtit = '有为青年，这里有份薄礼送你';
    var wappid = '';

    function shareMsg() {//<span style="font-family: Arial, Helvetica, sans-serif;">发送给好友</span><span style="font-family: Arial, Helvetica, sans-serif;">标题和内容默认都显示</span>
        WeixinJSBridge.invoke('sendAppMessage',{
            "appid": wappid,
            "img_url": wimg,
            "img_width": "200",
            "img_height": "200",
            "link": wurl,
            "desc": wdesc,
            "title": wtit,
        })
    }
    function shareQuan() {  //<span style="font-family: Arial, Helvetica, sans-serif;">分享到朋友圈只有标题显示</span>
        WeixinJSBridge.invoke('shareTimeline',{
            "img_url": wimg,
            "img_width": "200",
            "img_height": "200",
            "link": wurl,
            "desc": wdesc,
            "title": wtit
        });
    }
    function shareWeibo() { <span style="font-family: Arial, Helvetica, sans-serif;">//</span><span style="font-family: Arial, Helvetica, sans-serif;">分享到微博只有内容显示</span>
            WeixinJSBridge.invoke('shareWeibo',{
                "content": wdesc,
                "url": wurl,
            });
    }
    // 当微信内置浏览器完成内部初始化后会触发WeixinJSBridgeReady事件。
    document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
        // 发送给好友
        WeixinJSBridge.on('menu:share:appmessage', function(argv){
            shareMsg();
        });
        // 分享到朋友圈
        WeixinJSBridge.on('menu:share:timeline', function(argv){
            shareQuan();
        });
        // 分享到微博
        WeixinJSBridge.on('menu:share:weibo', function(argv){
            shareWeibo();
        });
    }, false);
</script>
<script type="application/javascript">
    document.body.addEventListener('touchstart', function () {
    });
    btnActive('.startAnswer');
    $('.indexExplainBtn').on('tap', function () {
        $('.indexExplain').show()
    })
    $('.indexExplainGb').on('tap', function () {
        $('.indexExplain').hide()
    })
</script>
</body>
</html>